package com.pangda.service;

import com.pangda.pojo.Dept;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pangda.pojo.vo.NodeVo;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 部门表 服务类
 * </p>
 *
 * @author author
 * @since 2024-06-20
 */
public interface IDeptService extends IService<Dept> {

    List<Dept> listExclude(Integer deptId);

    List<NodeVo> getTree() throws IOException;

    NodeVo getTreeById(Integer roleId);
}
